import request from '@/config/axios'

// Chat VO
export interface ChatMessageVO {
  id: number // ID
  message: string //
}

// Chat API
export const ChatApi = {

  // 新增Chat
  createChat: async (data: ChatMessageVO) => {
    return await request.post({ url: `/research/chat/create`, data })
  },

}
